An empirical study of automated unit test generation for Python

نویسندگان

چکیده

Abstract Various mature automated test generation tools exist for statically typed programming languages such as Java. Automatically generating unit tests dynamically Python, however, is substantially more difficult due to the dynamic nature of these well lack type information. Our Pynguin framework provides Python. In this paper, we extend our previous work on support aspects Python language, and by studying a larger variety well-established state art test-generation algorithms, namely DynaMOSA, MIO, MOSA. Furthermore, improved tool generate regression assertions, whose quality also evaluate. experiments confirm that evolutionary algorithms can outperform random in context similar Java world, DynaMOSA yields highest coverage results. However, results demonstrate there are still fundamental remaining issues, inferring information code without information, currently limiting effectiveness

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

LIPS vs MOSA: A Replicated Empirical Study on Automated Test Case Generation

Replication is a fundamental pillar in the construction of scientific knowledge. Test data generation for procedural programs can be tackled using a single-target or a many-objective approach. The proponents of LIPS, a novel single-target test generator, conducted a preliminary empirical study to compare their approach with MOSA, an alternative many-objective test generator. However, their empi...

متن کامل

An Efficient Test Data Generation Approach for Unit Testing

To ensure the delivery of high-quality software, software testing plays the vital role. One of the major time-consuming and expensive activities in software testing is the generation of test data. Test data generation activity has a strong impact on the effectiveness and efficiency of the whole testing process. In order to reduce the cost and time involved in the process of test data generation...

متن کامل

Automated Test Generation

Testing remains the principal means of verification in many certification regimes. Formal methods of verification will coexist with testing and should be developed in ways that improve, supplement, and exploit the value of testing. I describe automated test generation, which uses technology from formal methods to mechanize the construction of test cases, and discuss some of the research challen...

متن کامل

AUTOMATED LACHMAN TEST FOR OBJECTIVE ASSESSMENT OF THE ACL

This was Presented in 5th International Congress of Iranian Iranian Society of Knee Surgery, Arthroscopy, and Sports Traumatology (ISKAST), 14-17 Feb 2018- Kish, Iran

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Empirical Software Engineering

سال: 2023

ISSN: ['1382-3256', '1573-7616']

DOI: https://doi.org/10.1007/s10664-022-10248-w